﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package scripting {
    import __AS3__.vec.*;

    public class ConditionSet {

        protected var m_conditions:Vector.<Condition> = null;

        public function ConditionSet(){
            this.m_conditions = new Vector.<Condition>();
        }
        public function add(_arg1:Condition):void{
            this.m_conditions.push(_arg1);
        }
        public function evaluate():Boolean{
            var _local2:Condition;
            var _local1:Boolean;
            for each (_local2 in this.m_conditions) {
                _local1 = _local2.evaluate();
                if (!_local1){
                    break;
                };
            };
            return (_local1);
        }

    }
}//package scripting 
